package cn.stylefeng.guns.modular.service;

import cn.stylefeng.guns.modular.entity.Reserved;
import cn.stylefeng.guns.modular.param.ReservedAddParam;
import cn.stylefeng.guns.modular.vo.ReservedInfoVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 李宝嘉
 * @Date 2022/1/1 15:56
 */
public interface ReservedService extends IService<Reserved> {
    List<Reserved> getListByBeginTime(String beginTime);

    void addReserved(ReservedAddParam reservedAddParam);

    List<ReservedInfoVO> getListByUser();

    void seatSignIn(Long seatId, Long reservedId);

    void cancelReserved(Long reservedId);

    void withdrawReserved(Long reservedId);

    List<Reserved> renewalReserved(Long reservedId, Long seatId);
}
